package com.qf.data.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.qf.data.base.entity.BaseEntity;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * (ScoreDetails)表实体类
 *
 * @author makejava
 * @since 2022-07-20 10:46:28
 */
@Data
@ToString(callSuper = true)
@Accessors(chain = true)
public class ScoreDetails extends BaseEntity implements Serializable {
    //主键
    @TableId(type = IdType.AUTO)
    private Long id;
    //用户id
    private Long uid;
    //积分来源 0-充值 1-活动 2-发红包 3-抢红包 4-回退红包 4-消费 5-兑换....
    private Integer type;
    //积分值
    private Integer score;
    //业务id
    private Long busId;
}


